-- generate pickup code (mix consonants and vowels to produce a manageable passcode)
-- avoid characters that can be mixed up with other characters, i.e. "l" and "o"
[List_FromString: 'temp_consonants','b c d f g h j k m n p q r s t v w z b d f g k m n p r s t', 
	ListDelimiter=' ']
[List_FromList: 'temp_consonants_start','temp_consonants']
[List_FromString: 'temp_consonants_start','br pr pl bl dr sw sl sk st cl cr',
	ListDelimiter=' ']
[List_FromList: 'temp_consonants_mid','temp_consonants_start']
[List_FromString: 'temp_consonants_mid','dd mm nn pp rr ss tt',
	ListDelimiter=' ']
[List_FromList: 'temp_consonants_end','temp_consonants']
[List_FromString: 'temp_consonants_end','nd lk ng st lf mn rp rs rg bs st sk rd rf ns ms md',
	ListDelimiter=' ']
	
[List_FromString: 'temp_vowels','a e i u y', 
	ListDelimiter=' ']

[loop: 10]
[var_set: 'temp_pickup code'=(String_Concatenate: EncodeNone, 
	'',
	(List_GetItem: EncodeNone, 'temp_consonants_start', 
	ListIndex=(RandomNumber: min='1', 
		max=(List_ItemCount: 'temp_consonants_start'))))]
		
[loop: '2']
	[var_set: 'temp_pickup code'=(String_Concatenate: EncodeNone, 
		(var: 'temp_pickup code', EncodeNone),
		(List_GetItem: EncodeNone, 'temp_vowels', 
		ListIndex=(RandomNumber: min='1', 
			max=(List_ItemCount: 'temp_vowels'))))]
	[var_set: 'temp_pickup code'=(String_Concatenate: EncodeNone, 
		(var: 'temp_pickup code', EncodeNone),
		(List_GetItem: EncodeNone, 'temp_consonants_mid', 
		ListIndex=(RandomNumber: min='1', 
			max=(List_ItemCount: 'temp_consonants_mid'))))]
[/loop]
[var_set: 'temp_pickup code'=(String_Concatenate: EncodeNone, 
	(var: 'temp_pickup code', EncodeNone),
	(List_GetItem: EncodeNone, 'temp_vowels', 
	ListIndex=(RandomNumber: min='1', 
		max=(List_ItemCount: 'temp_vowels'))))]
[var_set: 'temp_pickup code'=(String_Concatenate: EncodeNone, 
	(var: 'temp_pickup code', EncodeNone),
	(List_GetItem: EncodeNone, 'temp_consonants_end', 
	ListIndex=(RandomNumber: min='1', 
		max=(List_ItemCount: 'temp_consonants_end'))))]

[var: 'temp_pickup code']
<br>
[/loop]
